package com.zito.health.service;

import com.zito.health.entity.Role;

import java.util.List;

/**
 * Created by gan on 2019/11/4.
 */
public interface RoleService {

    public Role save(Role object);

    public void delete(Integer id);

    public void update(Role object);

    public List<Role> query();

    public List<Role> query(Role object);

    public Role queryOne(Role object);

    public Role queryById(Integer id);

    public boolean exists(Integer id);

    List<Role> list4Admin(String roleids);
}
